package mapper.marketingMapper;

import entity.marketingEntity.SeckillTime;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SeckillTimeMapper {
    int deleteByPrimaryKey(Integer seckill_time_id);

    int insert(SeckillTime record);

    int insertSelective(SeckillTime record);

    List<SeckillTime> selectByPrimaryKey();

    int updateByPrimaryKeySelective(SeckillTime record);

    int updateByPrimaryKey(SeckillTime record);
    int updatetimesstate(@Param("id") Integer id,@Param("state") Integer state);
    List<SeckillTime> getflashlist(Integer id);

}